package com.diy.sigmund.diyoauth2.entity.enumerate;

import com.diy.sigmund.diycommon.entity.enumerate.ResponseEnum;
import java.util.Objects;

/**
 * 用户角色
 *
 * @author ylm-sigmund
 * @since 2021/8/20 10:14
 */
public enum UserRoleEnum {
    /** "1", "正常用户" */
    NORMAL("1", "正常用户"),
    /** "2", "禁言用户" */
    MUTE("2", "禁言用户"),
    /** "3", "虚拟用户" */
    VIRTUAL("3", "虚拟用户"),
    /** "4", "运营" */
    OPERATION("4", "运营"),
    ;
    private String code;
    private String msg;

    UserRoleEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
